'''
Created on Jul 12, 2011

@author: ioan
'''
from Model.GenericNode import GenericNode
from Model.Entity import Entity
from Model.EditorPath import EditorPath
from PyQt4 import QtGui


class NodeEntity(GenericNode):
    '''
    classdocs
    '''


    def __init__(self, Entity):
        '''
        Constructor
        '''
        self.mEntity = Entity
        super(NodeEntity, self).__init__([Entity.mGUID, "Entity"])

        path = ""
        path = EditorPath.mIconFolderPath + EditorPath.mEntityIconFile
        if path != "":
            self.mIcon = QtGui.QIcon(path)
